package cn.itsource.exam.mapper;

import cn.itsource.exam.domain.StudentInfo;
import cn.itsource.exam.query.UserInfoQuery;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentInfoMapper extends BaseMapper<StudentInfo> {
    public List<StudentInfo> selectUserList(UserInfoQuery query);
    public Integer countUserList(UserInfoQuery query);

    /**
     * 根据电话查询用户
     * @param ps
     * @return
     */
    List<StudentInfo> selectByPhones(List<String> ps);

    /**
     * 批量删除
     * @param list
     * @return
     */
    int batchdel(List<String> list);
}
